<template>
  <div>
    <iframe style="border: none;margin-top: -60px"
            :src="MixinApi.admin + '/swagger-ui.html'"
            :height="height" width="100%" title="接口文档"
    />
  </div>
</template>

<script>
export default {
  name: 'oauth2OpenApi',
  data() {
    return {
      height: '800'
    }
  },
  mounted() {
    this.height = window.innerHeight ? window.innerHeight : document.documentElement.clientHeight ? document.documentElement.clientHeight : screen.height
    this.height = this.height - 40
  }
}
</script>

<style type="text/scss" lang="scss" scoped>

</style>
